package com.xmall.order.define.dto;


import com.xmall.define.base.BaseDto;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
public class OrderConfirmResponseDto extends BaseDto implements Serializable  {

    /**
     * 选中的收货地址ID
     */
    private Long addressId;

    /**
     * 商品金额
     */
    private BigDecimal productAmount;

    /**
     * 优惠金额
     */
    private BigDecimal discountAmount;

    /**
     * 运费金额
     */
    private BigDecimal deliveryAmount;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    /**
     * 总数量
     */
    private Integer quantity;

    /**
     * 订单子项列表
     */
    private List<OrderItemDto> orderItemList = new ArrayList<>();
}
